package com.gylang.commons.vo;

import lombok.Getter;
import lombok.Setter;

/**
 * @author gylang,
 * date 2020/4/14,
 * @version 1.0
 * 统一返回对象
 */
@Setter
@Getter
public class GResultVO<T>  extends BaseResultVO{

    public GResultVO() {
        super("1", "");
    }

    public GResultVO(String code, String msg) {
        super(code, msg);
    }

    public GResultVO(String code, String msg, T data) {
        super(code, msg);
        this.data = data;
    }

    private T data;
}
